package com.sxx.mall.order.feign;

import com.sxx.commons.utils.R;
import com.sxx.mall.order.vo.LockStockResult;
import com.sxx.mall.order.vo.WareSkuLockVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Auther: sunxx
 * @Date: 2024/9/10 - 09 - 10 - 0:04
 * @Description: com.sxx.mall.order.feign
 * @version: 1.0
 */
@FeignClient("mall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/lock/order")
    public R orderLockStock(@RequestBody WareSkuLockVO vo);
}
